package com.yunhe.rentcars.pro.entity.rent;

import com.yunhe.rentcars.commons.constant.Constants;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class Cars {

    private String carid;  // 车辆编号

    private String carcode;  // 车牌号码

    private String carcolor;  // 车辆颜色

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date buydate; // 购买日期

    private String enginenum; // 发动机号

    private String framenum; // 车架号码

    private String cartype; // 车辆类型

    private String carbrand;  // 车辆品牌

    private String carbrandtype; // 品牌型号

    private String picid; // 车辆图片

    private Integer isauto; // 自动手动

    private String enginesize;  // 排量大小

    private Integer seatnum; // 座位数量

    private String facetype; // 外观类型

    private Double totalmile; // 车辆里程

    private Integer hadillegal; //  现有违章

    private String insurer; // 投保单位

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date insurancetime; // 投保时间

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date insuranceend;  //  保险到期时间

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date yearcheck; // 年检时间

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date yearcheckend; // 年检到期时间

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date maintaintime; // 保养时间

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date nextmaintaintime; // 下次保养时间

    private Double maintainmile;  // 保养里程

    private Integer hadaccident; // 事故车辆

    private Integer isbadrepair; // 是否大修

    private Integer isfakemile; // 伪造里程

    private Integer safelevel; // 安全系数

    private Double carprice;  // 车辆估值

    private String evaluater; // 评估人员

    private Integer carstate; // 车辆状态

    private String deptname;  // 所属部门名称

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date addtime; // 添加时间

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date contractdate; // 合同日期

    private Double dayprice; // 每日租金

    private String carremark; // 车辆信息介绍

    private String carcity;  // 所在区域城市

    private String phone;   // 提醒手机号

    private Boolean deleted;  // 删除标记

    public String getCarid() {
        return carid;
    }

    public void setCarid(String carid) {
        this.carid = carid;
    }

    public String getCarcode() {
        return carcode;
    }

    public void setCarcode(String carcode) {
        this.carcode = carcode;
    }

    public String getCarcolor() {
        return carcolor;
    }

    public void setCarcolor(String carcolor) {
        this.carcolor = carcolor;
    }

    public Date getBuydate() {
        return buydate;
    }

    public void setBuydate(Date buydate) {
        this.buydate = buydate;
    }

    public String getEnginenum() {
        return enginenum;
    }

    public void setEnginenum(String enginenum) {
        this.enginenum = enginenum;
    }

    public String getFramenum() {
        return framenum;
    }

    public void setFramenum(String framenum) {
        this.framenum = framenum;
    }

    public String getCartype() {
        return cartype;
    }

    public void setCartype(String cartype) {
        this.cartype = cartype;
    }

    public String getCarbrand() {
        return carbrand;
    }

    public void setCarbrand(String carbrand) {
        this.carbrand = carbrand;
    }

    public String getCarbrandtype() {
        return carbrandtype;
    }

    public void setCarbrandtype(String carbrandtype) {
        this.carbrandtype = carbrandtype;
    }

    public String getPicid() {
        return picid;
    }

    public void setPicid(String picid) {
        this.picid = picid;
    }

    public Integer getIsauto() {
        return isauto;
    }

    public void setIsauto(Integer isauto) {
        this.isauto = isauto;
    }

    public String getEnginesize() {
        return enginesize;
    }

    public void setEnginesize(String enginesize) {
        this.enginesize = enginesize;
    }

    public Integer getSeatnum() {
        return seatnum;
    }

    public void setSeatnum(Integer seatnum) {
        this.seatnum = seatnum;
    }

    public String getFacetype() {
        return facetype;
    }

    public void setFacetype(String facetype) {
        this.facetype = facetype;
    }

    public Double getTotalmile() {
        return totalmile;
    }

    public void setTotalmile(Double totalmile) {
        this.totalmile = totalmile;
    }

    public Integer getHadillegal() {
        return hadillegal;
    }

    public void setHadillegal(Integer hadillegal) {
        this.hadillegal = hadillegal;
    }

    public String getInsurer() {
        return insurer;
    }

    public void setInsurer(String insurer) {
        this.insurer = insurer;
    }

    public Date getInsurancetime() {
        return insurancetime;
    }

    public void setInsurancetime(Date insurancetime) {
        this.insurancetime = insurancetime;
    }

    public Date getYearcheck() {
        return yearcheck;
    }

    public void setYearcheck(Date yearcheck) {
        this.yearcheck = yearcheck;
    }

    public Date getMaintaintime() {
        return maintaintime;
    }

    public void setMaintaintime(Date maintaintime) {
        this.maintaintime = maintaintime;
    }

    public Double getMaintainmile() {
        return maintainmile;
    }

    public void setMaintainmile(Double maintainmile) {
        this.maintainmile = maintainmile;
    }

    public Integer getHadaccident() {
        return hadaccident;
    }

    public void setHadaccident(Integer hadaccident) {
        this.hadaccident = hadaccident;
    }

    public Integer getIsbadrepair() {
        return isbadrepair;
    }

    public void setIsbadrepair(Integer isbadrepair) {
        this.isbadrepair = isbadrepair;
    }

    public Integer getIsfakemile() {
        return isfakemile;
    }

    public void setIsfakemile(Integer isfakemile) {
        this.isfakemile = isfakemile;
    }

    public Integer getSafelevel() {
        return safelevel;
    }

    public void setSafelevel(Integer safelevel) {
        this.safelevel = safelevel;
    }

    public Double getCarprice() {
        return carprice;
    }

    public void setCarprice(Double carprice) {
        this.carprice = carprice;
    }

    public String getEvaluater() {
        return evaluater;
    }

    public void setEvaluater(String evaluater) {
        this.evaluater = evaluater;
    }

    public Integer getCarstate() {
        return carstate;
    }

    public void setCarstate(Integer carstate) {
        this.carstate = carstate;
    }

    public String getDeptname() {
        return deptname;
    }

    public void setDeptname(String deptname) {
        this.deptname = deptname;
    }

    public Date getAddtime() {
        return addtime;
    }

    public void setAddtime(Date addtime) {
        this.addtime = addtime;
    }

    public Date getContractdate() {
        return contractdate;
    }

    public void setContractdate(Date contractdate) {
        this.contractdate = contractdate;
    }

    public String getCarremark() {
        return carremark;
    }

    public void setCarremark(String carremark) {
        this.carremark = carremark;
    }

    public String getCarcity() {
        return carcity;
    }

    public void setCarcity(String carcity) {
        this.carcity = carcity;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Double getDayprice() {
        return dayprice;
    }

    public void setDayprice(Double dayprice) {
        this.dayprice = dayprice;
    }

    public Boolean getDeleted() {
        return deleted;
    }

    public void setDeleted(Boolean deleted) {
        this.deleted = deleted;
    }

    public Date getInsuranceend() {
        return insuranceend;
    }

    public void setInsuranceend(Date insuranceend) {
        this.insuranceend = insuranceend;
    }

    public Date getYearcheckend() {
        return yearcheckend;
    }

    public void setYearcheckend(Date yearcheckend) {
        this.yearcheckend = yearcheckend;
    }

    public Date getNextmaintaintime() {
        return nextmaintaintime;
    }

    public void setNextmaintaintime(Date nextmaintaintime) {
        this.nextmaintaintime = nextmaintaintime;
    }
}